package com.aistar.util;

public class LikedCountDTO {private Integer userId;
    private Integer productReviewId;
    private Integer agreeStatus;




    public LikedCountDTO(String key, Integer value) {
        String[] keys = key.split("::");
        this.userId =Integer.valueOf(keys[0]);
        this.productReviewId = Integer.valueOf(keys[1]);
        this.agreeStatus = value;
    }

    public Integer getProductReviewId() {
        return productReviewId;
    }

    public void setProductReviewId(Integer productReviewId) {
        this.productReviewId = productReviewId;
    }

    public Integer getAgreeStatus() {
        return agreeStatus;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setAgreeStatus(Integer agreeStatus) {
        this.agreeStatus = agreeStatus;
    }
}
